/*
 * coda.h
 *
 *  Created on: 31/ott/2014
 *      Author: Gabriel
 */

#ifndef CODA_H_
#define CODA_H_

#include <iostream>
using namespace std;

typedef bool boolean;
typedef char tipoelem;

class Nodo{
public:
	tipoelem elemento;
	Nodo* next;
};

class Coda{
public:
	void creaCoda();
	boolean codaVuota();
	tipoelem leggiCoda();
	void inCoda(tipoelem);
	void fuoriCoda();
	void stampaCoda();

	Coda();
	~Coda();
private:
	Nodo* testa;
	Nodo* fondo;


};


#endif /* CODA_H_ */
